﻿package ui {
	import flash.events.Event;
	public class ListEvent extends Event {
		public static const SELECT:String = "select";
		
		public var item:ListItem;
		public function ListEvent(type:String, item:ListItem, bubbles:Boolean=false, cancelable:Boolean=false) { 
			super(type, bubbles, cancelable);
			this.item = item;
		} 
		
		public override function clone():Event { 
			return new ListEvent(type, item, bubbles, cancelable);
		} 
		
		public override function toString():String { 
			return formatToString("ListEvent", "type", "item", "bubbles", "cancelable", "eventPhase"); 
		}
	}
}